package fons.model.query.fun;

import java.util.Map;

import com.google.common.collect.Maps;

public class Scope {
	private final Map<String, Function> references = Maps.newHashMap();
	
	public boolean contains(String name) {
		return references.containsKey(name);
	}

	public Function get(String name) {
		return references.get(name);
	}

	public void set(String name, Function reference) {
		references.put(name, reference);
	}

}
